package com.jjw.route.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jjw.route.to.LoginTo;
import com.jjw.route.utils.PageUtils;
import com.jjw.route.entity.UserEntity;
import com.jjw.route.utils.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author jjw
 * @email 2371671097@qq.com
 * @date 2023-05-12 07:45:21
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R register(LoginTo loginTo);

    R login(LoginTo loginTo, HttpSession session);

    R saveData(String[] arr);

    UserEntity selectByName(String userName);

    List<UserEntity> selectByIds(List<Integer> uids);

    UserEntity selectById(Integer uid);

    R getSim();
}

